.htaccess is a small text file that's installed either directly inside a domain folder or in a subfolder to inform the web server how it must handle requests when a site or a folder which is part of it is accessed. Many popular scripts like Joomla and WordPress use an .htaccess file. If you get a considerable amount of fake traffic to your website, for example, you can block the access of particular IP addresses and third-party websites, or you could request the visitor to type in a username and a password to view the content. You may also set up URL redirecting or use custom made error pages for your site, prevent other websites from linking to your content directly and from using your account’s traffic quota, etcetera. An .htaccess file gives you a lot more control over your Internet sites and the way they operate.

.htaccess Generator in Shared Web Hosting

When you obtain any of our shared web hosting solutions, you can take advantage of our user-friendly .htaccess generator tool, that is part of the Hepsia Control Panel. You won't need to know what syntax the different directives in this kind of a file must have, because our tool is very easy to use and you will only have to check boxes or input URLs, so you can easily use an .htaccess file even if you have never had an Internet hosting account before. Our .htaccess generator gives a number of options - you can block IP addresses, set the first page that loads when somebody opens your Internet site, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You shall even be able to set a different PHP version for each of your Internet sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans feature an .htaccess generator tool, that's easy enough to be used by individuals without previous experience. You'll be able to access it via your Hepsia CP and use an easy-to-use interface to enable any option you'd like. Once you choose the folder where our system will set up the .htaccess file, you only need to check the boxes next to the options which you want to enable, then save the changes and you'll be all set. The only thing you will have to enter by hand shall be a URL - if you'd like to use the .htaccess file to forward one of your domains/subdomains to a different address or if you want to use custom error pages. Our platform will also allow you to set the PHP version that an Internet site will use by putting an .htaccess file in its root folder, even when your account in its entirety uses a different version.